package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DisappearalarmdetalDao;
import io.renren.entity.Disappearalarmdetal;
import io.renren.service.DisappearalarmdetalService;



@Service("disappearalarmdetalService")
public class DisappearalarmdetalServiceImpl implements DisappearalarmdetalService {
	@Autowired
	private DisappearalarmdetalDao disappearalarmdetalDao;
	
	@Override
	public Disappearalarmdetal queryObject(Integer id){
		return disappearalarmdetalDao.queryObject(id);
	}
	
	@Override
	public List<Disappearalarmdetal> queryList(Map<String, Object> map){
		return disappearalarmdetalDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return disappearalarmdetalDao.queryTotal(map);
	}
	
	@Override
	public void save(Disappearalarmdetal disappearalarmdetal){
		disappearalarmdetalDao.save(disappearalarmdetal);
	}
	
	@Override
	public void update(Disappearalarmdetal disappearalarmdetal){
		disappearalarmdetalDao.update(disappearalarmdetal);
	}
	
	@Override
	public void delete(Integer id){
		disappearalarmdetalDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		disappearalarmdetalDao.deleteBatch(ids);
	}

	@Override
	public void addBatch(List<Disappearalarmdetal> list) {
		disappearalarmdetalDao.addBatch(list);
		
	}
	
}
